package net.begincode.SSO.servlet;

import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class InitServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;

		@Override
		public void init(ServletConfig config) throws ServletException {
			String home = config.getInitParameter("HomePage");
			ServletContext application = config.getServletContext();
			application.setAttribute("HomePage", home);
		}
}
